//
//  ViewController.swift
//  @available和#available
//
//  Created by 李煜 on 2024/1/4.
//

import UIKit

class ViewController: UIViewController {
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.

        let person = Person()

        if #available(iOS 17, *) {
            person.newRun()
        } else {
            person.run()
        }
    }
}
